package com.hakim.wfb.customer.params.user;

import com.hkfs.fundamental.api.params.BaseParameter;
import org.hibernate.validator.constraints.NotBlank;

/**
 * Created by walkman on 2017/7/1.
 */
public class LoginUserLogParameter extends BaseParameter {

    private static final long serialVersionUID = 1L;

    /**
     * 登录名
     */
    @NotBlank(message = "请输入登录名")
    private String userCode;

    /**
     * 用户名
     */
    @NotBlank(message = "请输入用户名")
    private String userName;
    /**
     * 密码
     */
    @NotBlank(message = "请输入密码")
    private String password;

    private String accessToken;

    /**
     * 终端类型
     */
    private Integer terminalType;

    public String getUserCode() {
        return userCode;
    }

    public void setUserCode(String userCode) {
        this.userCode = userCode;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserName() {
        return userName;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getPassword() {
        return password;
    }

    public String getAccessToken() {
        return accessToken;
    }

    public void setAccessToken(String accessToken) {
        this.accessToken = accessToken;
    }

    public Integer getTerminalType() {
        return terminalType;
    }

    public void setTerminalType(Integer terminalType) {
        this.terminalType = terminalType;
    }
}
